package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class EditPrivilegeRequest extends IdRequest{

    @ApiModelProperty("特权名称")
    @NotBlank(message = "特权名称不能为空")
    private String name;
    @NotNull(message = "优先购次数不能为空")
    @ApiModelProperty("优先够次数")
    private Integer firstPayTime;
    @ApiModelProperty("转增手续费折扣")
    @NotNull(message = "转赠手续费折扣不能为空")
    private BigDecimal transferDiscount;
    @ApiModelProperty("是否有空投")
    @NotNull(message = "请设置是否有空投")
    private Boolean isAirdrop;
    @ApiModelProperty("是否有热门ip分成")
    @NotNull(message = "请设置是否有热门ip分成")
    private Boolean isIpShare;
}
